<ul class="breadcrumb">
  <li>
    <a href="<%=root_path%>">Home</a><span class="divider">/</span>
  </li>
  <li>
    <a href="<%=trucks_path%>">Trucks</a><span class="divider">/</span>
  </li>
  <li class="active">
    <%=@truck.name%>
  </li>
</ul>

<%= render 'tabs' %>

<% if @active_tab == 'truck_details' %>
<%= render 'details' %>
<% end %>

<% if @active_tab == 'truck_attributes' %>
<%= render 'attributes' %>
<% end %>

<% if @active_tab == 'truck_conditions' %>
<%= render 'conditions' %>
<% end %>

<% if @active_tab == 'truck_ownerships' %>
<%= render 'ownerships' %>
<% end %>

<% if @active_tab == 'truck_rates' %>
<%= render 'rates' %>
<% end %>
